/*
 * Copyright (c) 2018-2999 九五云信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.distribution.comment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.distribution.comment.model.DistributionLevelSet;

import java.util.List;

/**
 *
 * @author lgh on 2019/04/04.
 */
public interface DistributionLevelSetService extends IService<DistributionLevelSet> {
    /**
     * 获取等级设置并携带当前店铺拥有的等级数据
     * @param shopId
     * @return
     */
    DistributionLevelSet getByShopId();



    void saveByDistributionLevelSet(DistributionLevelSet distributionLevelSet);

    List<String> updateByDistributionLevelSet(DistributionLevelSet distributionLevelSet);

//    /**
//     * 根据店铺id创建一条初始等级设置数据
//     * @param shopId
//     * @return
//     */
//    DistributionLevelSet createInitialLevelSet(Long shopId);
}
